package fm.dongman.modellib.local;

/**
 * 数据常量标志区
 * Created by KUIGE on 2017/10/17.
 */

class ConstFlags {
    /**
     * 发现->热门
     */
    static class FArticleHot {
        static String TABLE = "farticle_hot";
        static String ID = "article_id";
        static String TITLE = "title";
        static String CONTEXT = "content";
        static String IMG_URL = "thumb_img_url";
        static String CREATE_TIME = "create_time";
        static String BROWSE_COUNT = "browse_count";
    }

    /**
     * 发现->轮播
     */
    static class FArticleBanner {
        static String TABLE = "farticle_banner";
        static String ID = "article_id";
        static String IMG_URL = "img_url";
        static String TITLE = "title";
    }

    /**
     * 最新漫圈
     */
    static class FArticleNew {
        static String TABLE = "farticle_new";
        static String USER_ID = "user_id";
        static String TITLE = "title";
        static String IMG_URL = "img_url";
        static String CONTENT = "content";
    }


    /**
     * 最新番剧
     */
    static class ComicComics {
        static String TABLE = "comic_newcomics";
        static String EPISODES = "episodes";
        static String CREATE_TIME = "insert_time";
        static String SUBJECT_ID = "subject_id";
        static String IMG_URL = "img_url";
        static String TITLE = "title";
        static String GENRE = "genre";
        static String DIRECTOR = "director";
    }

    /**
     * 推荐番剧
     */
    static class ComicRecommendComics {
        static String TABLE = "comic_cecommendcomics";
        static String UPTIME = "episode_update_time";
        static String IMG_URL = "img_url";
        static String RATE = "rate_average";
        static String SUBJECT_ID = "subject_id";
        static String SUBJECT_NAME = "subject_title";
    }

    /**
     * 吐槽
     */
    static class ComicNewComment {
        static String TABLE = "comic_newcomment";
        static String AVATAR_URL = "avatar_url";
        static String CONTENT = "content";
        static String CREATE_TIME = "create_time";
        static String SUBJECT_ID = "subject_id";
        static String TITLE = "title";
        static String USER_ID = "user_id";
        static String USERNAME = "user_name";
    }

    /**
     * 热门搜索关键字
     */
    static class SearchHotWords {
        static String TABLE = "search_hot";//表名
        static String HOT_SEARCH = "hot_search";//热门搜索关键字
        static String HOT_PAST = "hot_past";//搜索历史
    }

    /**
     * 文章字段
     */
    static class Article {
        static String TABLE = "article";           //表名
        static String ARTICLE = "articleId";         //文章id
        static String BROWSECOUNT = "BrowseCount";   //浏览次数
        static String COMMENTCOUNT = "CommentCount";  //收藏次数
        static String CREATETIME = "CreateTime";     //创建时间
        static String IMGURL = "ImgUrl";             //图片链接
        static String SUMMARY = "Summary";           //简介
        static String TITLE = "title";               //标题
        static String USERSOURCE = "UserSource";     //文章来源（用户）
    }

    /**
     * 轮播字段
     */
    static class Banner {

        static String TABLE = "banner";             //表名
        static String ARTICLE = "articleId";        //文章id
        static String IMGURL = "ImgUrl";            //图片地址
        static String SUBJECTID = "subjectId";      //资源id
        static String TITLE = "title";              //标题

    }

    /**
     * 动漫字段
     */
    static class Comic {
        static String TABLE = "comic";               //表名
        static String TITLE = "title";              //标题
        static String SUBJECTID = "subjectId";      //资源id
        static String IMGURL = "ImgUrl";            //图片地址
        static String RATESCORE = "RateScore";      //评分

    }

    /**
     * 人气番剧
     */
    static class RankComic {
        static String TABLE = "rankComic";       //表名
        static String TITLE = "title";              //标题
        static String SUBJECTID = "subjectId";      //资源id
        static String IMGURL = "ImgUrl";            //图片地址
        static String RATECORE = "RateScore";       //评分
    }

    /**
     * 评论字段
     */
    static class Comment {
        static String TABLE = "comment";           //表名
        static String AVATARURL = "avatarUrl";     //用户头像
        static String CONTENT = "content";         //内容
        static String CREATETIME = "createTime";   //创建时间
        static String TIME = "time";               //时间
        static String SEX = "userGenDer";          //用户性别
        static String USERID = "userId";           //用户id
        static String USERNAME = "userName";       //用户名
        static String SUMMARY = "summary";         //用户简介

    }

    /**
     * 漫单字段
     */
    static class Sheet {
        static String TABLE = "sheet";               //表名
        static String CREATETIME = "createTime";    //创建时间
        static String MANDANTITLE = "mandanTitle";  //漫单标题
        static String MANDANID = "mandanId";        //漫单id
        static String AVATARURL = "avatarUrl";       //用户头像
        static String USERID = "userId";            //用户id
        static String USERNAME = "userName";        //用户名
        static String NUM = "num";                  //数量
        static String SUMMARY = "summary";          //简介
    }

    /**
     * 个人信息
     */
    static class User {
        static String TABLE = "user";                 //表名
        static String USERNAME = "userName";        //用户名
        static String USERID = "userId";            //用户id
        static String AVATARURL = "avatarUrl";      //用户头像
        static String USERSUMMARY = "userSummary";  //用户简介
        static String USERFANSNUM = "userFansNum";  //用户粉丝数量
        static String TOKEN = "token";              //令牌
        static String UPTOKEN = "refresh_token";    //更新的令牌
        static String MESSAGE = "message_num";      //消息数
        static String GUANZHU = "flow_num";         //关注数
    }

    /**
     * 漫单_达人
     */
    static class fMandan_daren {
        static String TABLE = "fmandan_daren";      //表名
        static String MAVATARURL = "avatarUrl";     //用户头像
        static String MMANDANCOUNT = "mandanCount"; //漫单数
        static String MUSERID = "userId";           //用户id
        static String MUSERNAME = "userName";       //用户名

    }

    /**
     * 漫单_列表
     */
    static class fMandan_list {
        static String TABLE = "fmandan_list";  //表名
        static String AVATARURL = "avatarUrl";    //用户头像
        static String BANGUMICOUNT = "bangumiCount";//番剧数
        static String MANDANID = "mandanId";      //漫单id
        static String MANDANIMG = "mandanImg";    //漫单图片
        static String MANDANTITLE = "mandanTitle";//漫单标题
        static String USERID = "userId";          //用户id
        static String USERNAME = "userName";      //用户名

    }

    /**
     * 漫单_标签
     */
    static class fMandan_Tag {
        static String TABLE = "fmandan_tag";  //表名
        static String TAGID = "tagId";             //标签id
        static String TAGNAME = "tagName";         //标签名
        static String TAGIMG = "tagImg";           //标签图片

    }

    /**
     * 漫单_专题
     */
    static class fMandan_Spec {
        static String TABLE = "fmandan_spec";  //表名
        static String BANGUMICOUNT = "bangumiCount";//番剧数
        static String BROWSECOUNT = "browseCount";//浏览数
        static String COLLECTCOUNT = "collectCount";//收藏数
        static String CREATE_TIME = "createTime"; //创建时间
        static String SUMMARY = "summary";        //简介
        static String TOPICID = "topicId";        //专题id
        static String TOPICIMG = "topicImg";      //专题图
        static String TOPICTITLE = "topicTitle";  //专题标题

    }

    /**
     * 关键字
     */
    static class SearchKey{
        static String TABLE = "SearchKey";
        static String WORD = "search_str";
    }

    //本周最火
    static class fManbang_Hot{
        static String TABLE = "fmanbang_hot";
        static String TITLE = "title";
        static String SUBJECT_ID = "subject_id";
    }
    //新番
    static class fManbang_xinfan{
        static String TABLE = "fmanbang_xinfan";
        static String TITLE = "title";
        static String SUBJECT_ID = "subject_id";
    }
    //本周最火
    static class fManbang_guochan{
        static String TABLE = "fmanbang_guochan";
        static String TITLE = "title";
        static String SUBJECT_ID = "subject_id";
    }
    //本周最火
    static class fManbang_hougong{
        static String TABLE = "fmanbang_hougong";
        static String TITLE = "title";
        static String SUBJECT_ID = "subject_id";
    }
}
